Component org.nuxeo.ecm.platform.oauth.directoryContrib
In bundle org.nuxeo.ecm.platform.oauth
Resolution Order
436
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime
framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.
Contributions
- org.nuxeo.ecm.platform.oauth.directoryContrib--directories
- org.nuxeo.ecm.platform.oauth.directoryContrib--schema
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.oauth.directoryContrib">
<extension target="org.nuxeo.ecm.directory.GenericDirectory" point="directories">
<directory name="oauth2ServiceProviders" extends="template-directory">
<schema>oauth2ServiceProvider</schema>
<idField>id</idField>
<autoincrementIdField>true</autoincrementIdField>
<substringMatchType>subfinal</substringMatchType>
<types>
<type>system</type>
</types>
<permissions>
<permission name="Read">
<group>___Nobody___</group>
</permission>
</permissions>
</directory>
<directory name="oauth2Tokens" extends="template-directory">
<schema>oauth2Token</schema>
<idField>id</idField>
<autoincrementIdField>true</autoincrementIdField>
<types>
<type>system</type>
</types>
<permissions>
<permission name="Read">
<group>__Nobody__</group>
</permission>
</permissions>
</directory>
<directory name="oauth2Clients" extends="template-directory">
<schema>oauth2Client</schema>
<idField>id</idField>
<autoincrementIdField>true</autoincrementIdField>
<dataFile>directories/oauth2clients.csv</dataFile>
<types>
<type>system</type>
</types>
<permissions>
<permission name="Read">
<group>__Nobody__</group>
</permission>
</permissions>
</directory>
</extension>
<extension target="org.nuxeo.ecm.core.schema.TypeService" point="schema">
<property schema="oauth2Token" name="accessToken" indexOrder="ascending" />
<property schema="oauth2Token" name="serviceName" indexOrder="ascending" />
</extension>
</component>